package org.whuims.pois.action.result;

import java.util.ArrayList;
import java.util.List;

/**
 * 搜索结果
 * Created by 声伟 on 2014/5/22 0022.
 */
public class SearchResult {
    double useTime;
    int total;

    public SearchResult() {
    }

    public SearchResult(long useTime, int total) {
        this.useTime = useTime;
        this.total = total;
    }

    public SearchResult(double useTime, int total, List<DataVo> list) {
        this.useTime = useTime;
        this.total = total;
        this.list = list;
    }

    List<DataVo> list = new ArrayList<DataVo>();


    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<DataVo> getList() {
        return list;
    }

    public void setList(List<DataVo> list) {
        this.list = list;
    }

    public double getUseTime() {
        return useTime;
    }

    public void setUseTime(double useTime) {
        this.useTime = useTime;
    }
}
